<admintpl file="header" />
</head>
<body>
	<div class="wrap goods">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('AdminGoodsType/index')}">商品类型管理</a></li>
			<li><a href="{:U('AdminGoodsType/add')}">添加商品类型</a></li>
		</ul>
		<form method="post" class="js-ajax-form" action="">
			
			<table class="table table-hover table-bordered table-list">
				<thead>
					<tr>						
						<th width="50">ID</th>
						<th>类型名称</th>
						
						<th>{:L('ACTIONS')}</th>
					</tr>
				</thead>
				<tbody>
				<foreach name="type_list" item="vo">
					<tr>
						<td>{$vo.id}</td>
						<td>{$vo.name}</td>
						<td>
							<a href="{:U('AdminGoodsType/edit',array('id'=>$vo['id']))}">{:L('EDIT')}</a> | 
							<a href="{:U('AdminGoodsType/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">{:L('DELETE')}</a>
						</td>
					</tr>
				</foreach>
				</tbody>
				
			</table>
			
		</form>
	</div>
	<script type="text/javascript">
		
	</script>
	<script src="__PUBLIC__/js/myajax.js"></script>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>